Øyvind Kolås [Thu, 12 Jun 2008 21:20:46 +0000 (21:20 +0000)]
added a html comment shortening the news shown. assed link to changelog in
* NEWS: added a html comment shortening the news shown.
* docs/index-static.html.in: assed link to changelog in svn after
news. Updated urls with s/viewcvs/viewvc/.
svn path=/trunk/; revision=329
Øyvind Kolås [Thu, 12 Jun 2008 21:13:48 +0000 (21:13 +0000)]
added TODO moved TODO list from here to here, also edited it a bit.
* Makefile.am: added TODO
* docs/index-static.html.in: moved TODO list from here
* TODO: to here, also edited it a bit.
* docs/Makefile.am: include TODO in result.
svn path=/trunk/; revision=328
Øyvind Kolås [Thu, 12 Jun 2008 21:00:34 +0000 (21:00 +0000)]
reindented code, documented BABL_ERROR.
* docs/index-static.html.in: reindented code, documented BABL_ERROR.
svn path=/trunk/; revision=327
Øyvind Kolås [Thu, 12 Jun 2008 20:35:48 +0000 (20:35 +0000)]
typo fix
svn path=/trunk/; revision=326
Øyvind Kolås [Thu, 12 Jun 2008 20:34:51 +0000 (20:34 +0000)]
updated. updated. improved introduction and feature list.
* AUTHORS: updated.
* NEWS: updated.
* docs/index-static.html.in: improved introduction and feature list.
svn path=/trunk/; revision=325
Jan Heller [Thu, 12 Jun 2008 17:10:55 +0000 (17:10 +0000)]
Added fallback non-SSE routine if the input buffer is not aligned to 16
2008-06-12 Jan Heller <jheller@svn.gnome.org>
* extensions/sse-fixups.c (conv_rgbaF_linear_rgb8_linear),
(conv_rgbaF_linear_rgba8_linear): Added fallback non-SSE routine
if the input buffer is not aligned to 16 bytes.
svn path=/trunk/; revision=324
Jan Heller [Wed, 4 Jun 2008 22:36:02 +0000 (22:36 +0000)]
Updated contact info.
2008-06-05 Jan Heller <jheller@svn.gnome.org>
* AUTHORS: Updated contact info.
svn path=/trunk/; revision=323
Jan Heller [Tue, 3 Jun 2008 14:58:09 +0000 (14:58 +0000)]
Updated download link.
2008-06-03 Jan Heller <jheller@svn.gnome.org>
* INSTALL.in: Updated download link.
svn path=/trunk/; revision=322
Jan Heller [Tue, 3 Jun 2008 14:11:34 +0000 (14:11 +0000)]
babl_get_version () moved into separate source file.
2008-06-03 Jan Heller <jheller@svn.gnome.org>
babl_get_version () moved into separate source file.
* babl/Makefile.am: Added babl-version.c.
* babl/babl-version.c (babl_get_version): Implemented.
* babl/babl-version.h.in: Added babl_get_version () declaration.
* babl/babl.c: Removed babl_get_version ().
* babl/babl.h: Removed babl_get_version () declaration.
svn path=/trunk/; revision=321
Jan Heller [Tue, 3 Jun 2008 13:26:31 +0000 (13:26 +0000)]
Added.
2008-06-03 Jan Heller <jheller@svn.gnome.org>
* babl/babl-version.h.in: Added.
svn path=/trunk/; revision=319
Jan Heller [Tue, 3 Jun 2008 12:12:36 +0000 (12:12 +0000)]
Added babl_get_version () to the public API.
2008-06-03 Jan Heller <jheller@svn.gnome.org>
Added babl_get_version () to the public API.
* babl/Makefile.am: Added babl-version.h to library_include_HEADERS.
* babl/babl-version.h.in: Added macros to expand to babl version
information.
* babl/babl.c (babl_get_version): Implemented.
* babl/babl.h: Include babl-version.h, declare babl_get_version ().
* configure.ac: Added babl-version.h to AC_CONFIG_FILES.
svn path=/trunk/; revision=318
Jan Heller [Fri, 23 May 2008 20:49:39 +0000 (20:49 +0000)]
Fixed conditionally compiled code.
2008-05-23 Jan Heller <jheller@svn.gnome.org>
* extensions/sse-fixups.c (init): Fixed conditionally compiled code.
svn path=/trunk/; revision=317
Jan Heller [Fri, 23 May 2008 13:36:35 +0000 (13:36 +0000)]
Added support for CPU acceleration, RGBA float -> RGB u8 and RGBA float ->
2008-05-23 Jan Heller <jheller@svn.gnome.org>
Added support for CPU acceleration, RGBA float -> RGB u8 and
RGBA float -> RGBA u8 SSE accelerated conversions.
* babl/Makefile.am: Added babl-cpuaccel.[ch].
* babl/babl-cpuaccel.h:
* babl/babl-cpuaccel.c (babl_cpu_accel_get_support),
(babl_cpu_accel_set_use), (arch_get_vendor), (arch_accel_intel),
(arch_accel_amd), (arch_accel_centaur), (arch_accel_cyrix),
(sigill_handler), (arch_accel_sse_os_support), (arch_accel),
(cpu_accel): Runtime CPU detection code. Ported from GIMP.
* babl/babl-internal.h: Include babl-cpuaccel.h.
* babl/babl-memory.c (babl_malloc): Make babl_malloc align memory to
BABL_ALIGN==16 boundaries.
* babl/babl.c (babl_init): Enabled CPU acceleration.
* configure.ac: Added compile time MMX/SSE/AltiVec detection. Ported
from GIMP.
* extensions/Makefile.am: Added SSE_EXTRA_CFLAGS for sse-fixups.c
compilation.
* extensions/sse-fixups.c (conv_rgbaF_linear_rgb8_linear),
(conv_rgbaF_linear_rgba8_linear), (init): Added RGBA float -> RGB u8
and RGBA float -> RGBA u8 SSE accelerated conversions.
svn path=/trunk/; revision=316
Jan Heller [Wed, 21 May 2008 22:31:39 +0000 (22:31 +0000)]
changed fallback macro to have the same return type as rint().
2008-05-22 Jan Heller <jheller@svn.gnome.org>
* extensions/util.h: changed fallback macro to have the
same return type as rint().
svn path=/trunk/; revision=315
Sven Neumann [Wed, 21 May 2008 09:48:39 +0000 (09:48 +0000)]
changed fallback macro to have the same return type as rint().
2008-05-21 Sven Neumann <sven@gimp.org>
* babl/babl-internal.h (rint): changed fallback macro to have the
same return type as rint().
svn path=/trunk/; revision=314
Jan Heller [Tue, 20 May 2008 22:11:12 +0000 (22:11 +0000)]
fallback to floor function when rint function is not available.
2008-05-21 Jan Heller <jheller@svn.gnome.org>
* babl/babl-internal.h:
* babl/base/type-u16.c:
* babl/base/type-u32.c:
* babl/base/type-u8.c:
* extensions/CIE-Lab.c:
* extensions/gegl-fixups.c:
* extensions/gggl-lies.c:
* extensions/gggl.c:
* extensions/gimp-8bit.c:
* extensions/util.h: fallback to floor function when rint function
is not available.
* configure.ac: added check for rint function.
svn path=/trunk/; revision=313
Jan Heller [Tue, 20 May 2008 14:38:02 +0000 (14:38 +0000)]
added naive versions of respective conversions.
2008-05-20 Jan Heller <jheller@svn.gnome.org>
* extensions/gimp-8bit.c (conv_rgbaF_linear_rgb8_linear),
(conv_rgbaF_linear_rgba8_linear), (init): added naive versions
of respective conversions.
svn path=/trunk/; revision=312
Sven Neumann [Wed, 14 May 2008 15:18:26 +0000 (15:18 +0000)]
initialize format.visited.
2008-05-14 Sven Neumann <sven@gimp.org>
* babl/babl-format.c (format_new): initialize format.visited.
* babl/babl-format.h
* babl/babl-fish-path.c: formatting.
svn path=/trunk/; revision=311
Sven Neumann [Wed, 16 Apr 2008 09:49:24 +0000 (09:49 +0000)]
formatting.
2008-04-16 Sven Neumann <sven@gimp.org>
* babl/babl.h: formatting.
svn path=/trunk/; revision=310
Øyvind Kolås [Wed, 16 Apr 2008 09:44:54 +0000 (09:44 +0000)]
split up into ... Separate header files.
* babl/babl.h: split up into ...
Separate header files.
* babl/babl-component.h:
* babl/babl-conversion.h:
* babl/babl-extension.h:
* babl/babl-fish.h:
* babl/babl-format.h:
* babl/babl-image.h:
* babl/babl-model.h:
* babl/babl-sampling.h:
* babl/babl-type.h:
* babl/Makefile.am: install new headers.
svn path=/trunk/; revision=309
Øyvind Kolås [Tue, 15 Apr 2008 22:06:32 +0000 (22:06 +0000)]
removed babl-classes.h removed and mostly folded into ... .. this file,
* babl/Makefile.am: removed babl-classes.h
* babl/babl-classes.h: removed and mostly folded into ...
* babl/babl.h: .. this file, which has been reorganized to contain
each separate class by itself.
* babl/babl-internal.h: simplified code renamed BABL_CLASS_TEMPLATE to
be just BABL_CLASS or BABL_CLASS_MINIMAL.
* babl/babl-fish.c: (babl_fish): do not accept varargs, use use
BABL_CLASS_MINIMAL.
* babl/babl-component.c:
* babl/babl-conversion.c:
* babl/babl-extension.c:
* babl/babl-format.c:
* babl/babl-model.c:
* babl/babl-type.c: use BABL_CLASS instead of BABL_CLASS_TEMPLATE
* babl/babl-hash-table.h:
* babl/babl-list.h:
* babl/babl-db.h: changed include warning since babl-classes doesn't
exist anymore.
svn path=/trunk/; revision=308
Sven Neumann [Tue, 15 Apr 2008 09:25:30 +0000 (09:25 +0000)]
extensions/util.h removed trailing whitespace.
2008-04-15 Sven Neumann <sven@gimp.org>
* extensions/util.h
* babl/*.[ch]: removed trailing whitespace.
svn path=/trunk/; revision=307
Sven Neumann [Tue, 15 Apr 2008 09:19:18 +0000 (09:19 +0000)]
this function has no return value, declare it as void.
2008-04-15 Sven Neumann <sven@gimp.org>
* babl/babl-fish-path.c (init_path_instrumentation): this function
has no return value, declare it as void.
svn path=/trunk/; revision=306
Øyvind Kolås [Sun, 13 Apr 2008 22:52:49 +0000 (22:52 +0000)]
Applied patch from Jan Heller.
* babl/babl-fish-path.c: (get_conversion_path), (babl_fish_path),
(test_create), (init_path_instrumentation),
(destroy_path_instrumentation), (get_path_instrumentation): Improved
fish path instrumentation during the search for a new one to optimize
for speed. Added logic to disallow creation of a fish path that is
actually slower than appropriate reference fish.
* babl/babl-util.[ch]: (babl_process_cost): New function for unified
timing formula for babl processings.
* babl/babl-conversion.c: (babl_conversion_error): Make use of the
new babl_process_cost function.
* extensions/gimp-8bit.c: Added a function declaration to prevent
compiler warning.
svn path=/trunk/; revision=305
Øyvind Kolås [Tue, 8 Apr 2008 17:01:23 +0000 (17:01 +0000)]
Applied patch from Jan Heller that improves logic of go_fishing code
in babl-fish.c. The current code searches list of all fishes while
looking for suitable preexistent BABL_FISH_PATH instance. The new code
only searches relevant part of database's hash table. Further, the
current code searches for fish path every time such a babl fish is
requested, even though the same fish path has been requested before
and not found. The new code creates dummy BABL_FISH instance with
appropriate source/destination formats and inserts it into the fish
database to indicate that fish path has been searched for and not
found.
* babl/babl-fish.c: (find_fish_path), (find_memcpy_fish),
(babl_fish_get_id), (babl_fish):
* babl/babl-fish-path.c: (babl_fish_path):
* babl/babl-fish-reference.c: (babl_fish_reference):
* babl/babl-fish-simple.c: (babl_fish_simple):
* babl/babl-internal.h:
svn path=/trunk/; revision=304
Sven Neumann [Sun, 6 Apr 2008 11:53:24 +0000 (11:53 +0000)]
new file defining BABL_DETECT_CFLAGS() macro.
2008-04-06 Sven Neumann <sven@gimp.org>
* acinclude.m4: new file defining BABL_DETECT_CFLAGS() macro.
* configure.ac: set CFLAGS to get some extra compiler warnings.
* babl/babl-fish-stats.c (conversions): fixed old-style function
definition.
* Makefile.am: formatting.
svn path=/trunk/; revision=303
Mukund Sivaraman [Thu, 3 Apr 2008 02:50:27 +0000 (02:50 +0000)]
Sparse fixes.
2008-04-02 Mukund Sivaraman <muks@mukund.org>
Sparse fixes.
* babl/babl-internal.h: fflush() takes pointer.
* babl/babl-conversion.c: Don't mix code and declarations.
* babl/babl-fish-reference.c: Fixed array assignment.
svn path=/trunk/; revision=302
Øyvind Kolås [Thu, 3 Apr 2008 00:47:05 +0000 (00:47 +0000)]
Applied patch from Jan Heller that ports BablFishPath class to the new
list API and the list API is a bit expanded. Further, the algorithm
for generating the shortest conversion path is reformulated to be more
readable and comprehensible and thoroughly commented. The algorithm
for processing the conversion paths is reformulated and commented.
Also contains minor readability cleanups and speedups.
* babl/babl-classes.h:
* babl/babl-conversion.c:
* babl/babl-db.c:
* babl/babl-fish-path.c:
* babl/babl-fish-stats.c:
* babl/babl-fish.c:
* babl/babl-list.c:
* babl/babl-list.h:
* tests/babl_fish_path_fitness.c:
svn path=/trunk/; revision=301
Øyvind Kolås [Tue, 1 Apr 2008 22:39:28 +0000 (22:39 +0000)]
applied patch from Jan Heller that improves readability by using the newly
* babl/babl-classes.h:
* babl/babl-conversion.c:
* babl/babl-db.c:
* babl/babl-fish-path.c:
* babl/babl-fish.c:
* babl/babl-format.c:
* babl/babl-internal.h:
* babl/babl-introspect.c:
* babl/babl-list.c:
* babl/babl-list.h:
* babl/babl-model.c:
* babl/babl-sampling.c:
* babl/babl-sanity.c:
* babl/babl-type.c:
* babl/babl-util.[ch]: applied patch from Jan Heller that improves
readability by using the newly introduced BablList structure.
svn path=/trunk/; revision=300
Sven Neumann [Mon, 31 Mar 2008 14:23:55 +0000 (14:23 +0000)]
added Jan Heller and obfuscated the email addresses.
2008-03-31 Sven Neumann <sven@gimp.org>
* AUTHORS: added Jan Heller and obfuscated the email addresses.
svn path=/trunk/; revision=299
Sven Neumann [Sat, 29 Mar 2008 19:02:20 +0000 (19:02 +0000)]
babl/babl-component.c babl/babl-conversion.c babl/babl-db.c
2008-03-29 Sven Neumann <sven@gimp.org>
* babl/babl-component.c
* babl/babl-conversion.c
* babl/babl-db.c
* babl/babl-extension.c
* babl/babl-fish-path.c
* babl/babl-fish-reference.c
* babl/babl-fish-simple.c
* babl/babl-format.c
* babl/babl-model.c
* babl/babl-type.c: applied patch from Jan Heller that changes
the
code to test for a pre-existent instance of a babl class in the
database before creating a new one.
svn path=/trunk/; revision=298
Tor Lillqvist [Mon, 24 Mar 2008 21:31:48 +0000 (21:31 +0000)]
Make the "test" array static.
2008-03-24 Tor Lillqvist <tml@novell.com>
* babl/babl-type.c: Make the "test" array static.
svn path=/trunk/; revision=297
Martin Nordholts [Sun, 23 Mar 2008 18:11:11 +0000 (18:11 +0000)]
typedef:ed BABL free and malloc function pointers.
2008-03-23 Martin Nordholts <martinn@svn.gnome.org>
* babl/babl-memory.[ch]: typedef:ed BABL free and malloc function
pointers.
svn path=/trunk/; revision=296
Martin Nordholts [Sun, 23 Mar 2008 18:06:12 +0000 (18:06 +0000)]
Added "This considerably improves BABL performance." to latest ChangeLog entry.
svn path=/trunk/; revision=295
Sven Neumann [Sat, 22 Mar 2008 22:09:19 +0000 (22:09 +0000)]
Applied patch from Jan Heller that introduces list and hash table
2008-03-22 Sven Neumann <sven@gimp.org>
Applied patch from Jan Heller that introduces list and hash
table
functionality and changes the babl database to use coalesced
hashing (bug #523507):
* babl/Makefile.am
* babl/babl-list.[ch]
* babl/babl-hash-table.[ch]: new files providing list and hash
table functionality.
* babl/babl-internal.h: include the new header files.
* babl/babl-db.[ch]: use the new code.
* babl/babl-fish.c: changed accordingly.
svn path=/trunk/; revision=294
Mukund Sivaraman [Sun, 16 Mar 2008 12:18:25 +0000 (12:18 +0000)]
getenv() can return NULL.
2008-03-16 Mukund Sivaraman <muks@mukund.org>
* babl/babl-extension.c: getenv() can return NULL.
* babl/babl-memory.c: Check for NULL in babl_strcat().
svn path=/trunk/; revision=293
Mukund Sivaraman [Sun, 16 Mar 2008 12:12:22 +0000 (12:12 +0000)]
Added missing va_end()s.
2008-03-16 Mukund Sivaraman <muks@mukund.org>
* babl/babl-image.c: Added missing va_end()s.
svn path=/trunk/; revision=292
Mukund Sivaraman [Sun, 16 Mar 2008 12:10:31 +0000 (12:10 +0000)]
Added missing dlclose()s.
2008-03-16 Mukund Sivaraman <muks@mukund.org>
* babl/babl-extension.c: Added missing dlclose()s.
svn path=/trunk/; revision=291
Øyvind Kolås [Sun, 2 Mar 2008 16:48:52 +0000 (16:48 +0000)]
do not add @DL_LIBS@ to link line of babl.
* babl.pc.in: do not add @DL_LIBS@ to link line of babl.
svn path=/trunk/; revision=290
Øyvind Kolås [Sun, 2 Mar 2008 10:28:37 +0000 (10:28 +0000)]
Applied patch from dmacks@netspace.org closing bug #519796
* configure.ac:
* babl/Makefile.am:
* tests/Makefile.am: Only -ldl if required, passed automatically via
$LIBS
svn path=/trunk/; revision=289
Øyvind Kolås [Wed, 27 Feb 2008 16:20:37 +0000 (16:20 +0000)]
post release version increment to 0.0.21
* configure.ac: post release version increment to 0.0.21
svn path=/trunk/; revision=286
Øyvind Kolås [Wed, 27 Feb 2008 16:09:56 +0000 (16:09 +0000)]
=========================== 0.0.20 released =============================
2008-02-27 Øyvind Kolås <pippin@gimp.org>
* NEWS: updated for 0.0.20 release.
* configure.ac: incremented version.
svn path=/trunk/; revision=285
Øyvind Kolås [Wed, 27 Feb 2008 16:09:05 +0000 (16:09 +0000)]
use mktemp instead of tempfile.
* docs/Makefile.am: use mktemp instead of tempfile.
svn path=/trunk/; revision=284
Øyvind Kolås [Wed, 27 Feb 2008 02:25:13 +0000 (02:25 +0000)]
-I$(top_builddir) to be able to include config.h
* extensions/Makefile.am: -I$(top_builddir) to be able to include
config.h
svn path=/trunk/; revision=283
Sven Neumann [Tue, 19 Feb 2008 13:09:24 +0000 (13:09 +0000)]
add some extra pixels outside the valid range to fix issues with wrong
2008-02-19 Sven Neumann <sven@gimp.org>
* babl/babl-fish-path.c (test_create): add some extra pixels
outside the valid range to fix issues with wrong clamping of
conversions.
svn path=/trunk/; revision=282
Sven Neumann [Tue, 19 Feb 2008 13:01:25 +0000 (13:01 +0000)]
renamed test_pixels to num_test_pixels.
2008-02-19 Sven Neumann <sven@gimp.org>
* babl/babl-fish-path.c: renamed test_pixels to num_test_pixels.
svn path=/trunk/; revision=281
Sven Neumann [Tue, 19 Feb 2008 12:58:13 +0000 (12:58 +0000)]
reverted previous change as it introduces the risk of not testing any
2008-02-19 Sven Neumann <sven@gimp.org>
* babl/babl-fish-path.c (test_create): reverted previous change as
it introduces the risk of not testing any values between 0.0 and 1.0.
svn path=/trunk/; revision=280
Øyvind Kolås [Tue, 19 Feb 2008 12:50:08 +0000 (12:50 +0000)]
make the testbuffer contain values in the range -0.25 .. 1.75 instead of
* babl/babl-fish-path.c: (test_create): make the testbuffer contain
values in the range -0.25 .. 1.75 instead of 0.0 .. 1.0, might fix
issues with wrong clamping of float->8bit conversions.
svn path=/trunk/; revision=279
Øyvind Kolås [Fri, 15 Feb 2008 21:24:13 +0000 (21:24 +0000)]
cleaned up win32 detection vs plug-in compilation specifics, added
* configure.ac: cleaned up win32 detection vs plug-in compilation
specifics, added DYNAMICLIB paramter for gcc which defaults to -shared
for win32 and -dynamiclib for darwin.
* extensions/Makefile.am: use $(DYNAMICLIB) instead of -shared.
svn path=/trunk/; revision=278
Kevin Cozens [Mon, 11 Feb 2008 20:10:32 +0000 (20:10 +0000)]
Set shrext to ".dylib" for Darwin (ie. Mac OS).
* configure.ac: Set shrext to ".dylib" for Darwin (ie. Mac OS).
* babl/babl-extension.c: Use BABL_DIR_SEPARATOR instead of "/".
svn path=/trunk/; revision=277
Sven Neumann [Tue, 22 Jan 2008 09:38:23 +0000 (09:38 +0000)]
use the correct lookup table.
2008-01-22 Sven Neumann <sven@gimp.org>
* extensions/gimp-8bit.c (u8_gamma_2_2_to_float_linear): use the
correct lookup table.
svn path=/trunk/; revision=276
Øyvind Kolås [Sun, 20 Jan 2008 22:26:08 +0000 (22:26 +0000)]
Always use BablFishPath's for accepted conversions. The path
construction code is the location of the regression test, an
earlier (now unneeded) optimization allowed using the first
and best conversion available. The (not in bugzilla afair) bug
manifest by this depended on the order of .so's on the file system
to manifest itself.
* babl/babl-fish.c: (go_fishing): only accepts paths when we go
fishing for existing conversions.
(babl_fish): elaborated a comment about why we avoid shortcut
conversions and only paths.
svn path=/trunk/; revision=275
Øyvind Kolås [Sat, 19 Jan 2008 23:08:11 +0000 (23:08 +0000)]
Applied patch from Deji Akingunola <dakingun@gmail.com> to make babl
correctly pick up the path to the extensions on 64bit systems. Fixes
bug #510038
* babl/Makefile.am: added -DLIBDIR
* babl/babl-extension.c: use libdir and not PREFIX "/lib" when
defining the default BABL_PATH.
svn path=/trunk/; revision=274
Sven Neumann [Thu, 10 Jan 2008 21:48:19 +0000 (21:48 +0000)]
added extension to speed up code paths that are executed by the GIMP/GEGL
2008-01-10 Sven Neumann <sven@gimp.org>
* extensions/gimp-8bit.c: added extension to speed up code paths
that are executed by the GIMP/GEGL hybrid. So far only 8bit to
float conversions are handled.
svn path=/trunk/; revision=273
Sven Neumann [Thu, 10 Jan 2008 21:22:05 +0000 (21:22 +0000)]
extended CFLAGS so that config.h can be included.
2008-01-10 Sven Neumann <sven@gimp.org>
* extensions/Makefile.am: extended CFLAGS so that config.h can
be
included.
* extensions/*.c: fixed up includes.
* extensions/gegl-fixups.c: use linear <-> gamma conversions
from
base/util.c.
svn path=/trunk/; revision=272
Kevin Cozens [Mon, 7 Jan 2008 18:58:09 +0000 (18:58 +0000)]
Reverted previous change. BABL hasn't been updated to use gmodule (yet).
2008-01-07 Kevin Cozens <kcozens@cvs.gnome.org>
* babl/babl-extension.c (babl_extension_load_dir): Reverted previous
change. BABL hasn't been updated to use gmodule (yet).
svn path=/trunk/; revision=271
Kevin Cozens [Mon, 7 Jan 2008 18:50:05 +0000 (18:50 +0000)]
Use G_MODULE_SUFFIX instead of a hard-coded suffix.
2008-01-07 Kevin Cozens <kcozens@cvs.gnome.org>
* babl/babl-extension.c (babl_extension_load_dir): Use G_MODULE_SUFFIX
instead of a hard-coded suffix.
svn path=/trunk/; revision=270
Sven Neumann [Sun, 6 Jan 2008 17:51:00 +0000 (17:51 +0000)]
made internal functions static.
2008-01-06 Sven Neumann <sven@gimp.org>
* extensions/CIE-Lab.c: made internal functions static.
svn path=/trunk/; revision=269
Sven Neumann [Mon, 31 Dec 2007 15:29:06 +0000 (15:29 +0000)]
completely fill the lookup tables for conversion from float to integer.
2007-12-30 Sven Neumann <sven@gimp.org>
* extensions/gggl-lies.c (table_init): completely fill the
lookup
tables for conversion from float to integer.
svn path=/trunk/; revision=268
Kevin Cozens [Sun, 30 Dec 2007 18:30:35 +0000 (18:30 +0000)]
Use SHREXT instead of hard-coded ".so".
2007-12-30 Kevin Cozens <kcozens@cvs.gnome.org>
* extensions/Makefile.am: Use SHREXT instead of hard-coded ".so".
svn path=/trunk/; revision=266
Manish Singh [Sun, 30 Dec 2007 16:58:45 +0000 (16:58 +0000)]
Fix ytpo
svn path=/trunk/; revision=265
Øyvind Kolås [Sun, 30 Dec 2007 16:34:27 +0000 (16:34 +0000)]
post release version increment to 0.0.19
* configure.ac: post release version increment to 0.0.19
svn path=/trunk/; revision=264
Øyvind Kolås [Sun, 30 Dec 2007 16:33:52 +0000 (16:33 +0000)]
=========================== 0.0.18 released =============================
2007-12-30 Øyvind Kolås <pippin@gimp.org>
* NEWS: updated for 0.0.8 release
* configure.ac: increased version to 0.0.18 for release.
svn path=/trunk/; revision=263
Øyvind Kolås [Sun, 30 Dec 2007 16:33:41 +0000 (16:33 +0000)]
svn path=/trunk/; revision=262
svn path=/trunk/; revision=262
Michael Natterer [Sat, 29 Dec 2007 03:32:48 +0000 (03:32 +0000)]
one const was forgotten.
2007-12-29 Michael Natterer <mitch@gimp.org>
* babl/babl-fish-path.c (chain_contains_fmt): one const was
forgotten.
svn path=/trunk/; revision=261
Øyvind Kolås [Sat, 29 Dec 2007 03:29:37 +0000 (03:29 +0000)]
Const'ified code with Babl*'s refering to formats.
* babl/babl.h:
* babl/babl-classes.h:
* babl/babl-fish-path.c:
* babl/babl-fish-reference.c:
* babl/babl-fish.c:
* babl/babl-internal.[ch]: Const'ified code with Babl*'s refering to
formats.
svn path=/trunk/; revision=260
Øyvind Kolås [Sun, 25 Nov 2007 23:16:09 +0000 (23:16 +0000)]
post release version increment to 0.0.17
* configure.ac: post release version increment to 0.0.17
svn path=/trunk/; revision=258
Øyvind Kolås [Sun, 25 Nov 2007 23:15:27 +0000 (23:15 +0000)]
=========================== 0.0.16 released =============================
2007-02-17 Øyvind Kolås <pippin@gimp.org>
* configure.ac: increased version to 0.0.16 for release.
svn path=/trunk/; revision=257
Øyvind Kolås [Sun, 25 Nov 2007 23:14:25 +0000 (23:14 +0000)]
svn path=/trunk/; revision=256
svn path=/trunk/; revision=256
Øyvind Kolås [Sun, 25 Nov 2007 23:00:14 +0000 (23:00 +0000)]
do additional casts to silence warnings from compiler.
* babl/babl-image.c: (babl_image_from_linear): do additional casts to
silence warnings from compiler.
svn path=/trunk/; revision=255
Øyvind Kolås [Sun, 25 Nov 2007 22:56:30 +0000 (22:56 +0000)]
changed documentation to use babl_format instead of passing naked strings
* docs/index-static.html.in: changed documentation to use babl_format
instead of passing naked strings into babl_fish, (both will work,
but using babl_format is a bit saner).
svn path=/trunk/; revision=254
Øyvind Kolås [Sun, 25 Nov 2007 22:49:07 +0000 (22:49 +0000)]
updated. added COPYING and COPYING.LESSER added COPYING and COPYING.LESSER
* NEWS: updated.
* Makefile.am: added COPYING and COPYING.LESSER
* docs/Makefile.am: added COPYING and COPYING.LESSER
svn path=/trunk/; revision=253
Øyvind Kolås [Tue, 13 Nov 2007 02:37:20 +0000 (02:37 +0000)]
swapped source and destination around in memcpy.
* babl/babl-fish.c: (babl_fish_process): swapped source and
destination around in memcpy.
svn path=/trunk/; revision=252
Øyvind Kolås [Tue, 13 Nov 2007 01:09:28 +0000 (01:09 +0000)]
swapped source and destination around in memcpy.
* babl/babl-fish.c: (babl_fish_process): swapped source and
destination around in memcpy.
svn path=/trunk/; revision=251
Øyvind Kolås [Tue, 13 Nov 2007 00:05:46 +0000 (00:05 +0000)]
optimized fishing when looking up existing fish (should perhaps be moved
* babl/babl-fish.c: (go_fishing): optimized fishing when looking
up existing fish (should perhaps be moved to lists going from given
formats, similar to how conversions are added there instead.) Made
go_fishing accept BABL_FISH_REFERENCE when source and desintation
formats are equal.
(babl_fish_process): removed most of the need for BablImage for
linear buffers, do a memcpy when source and destination formats
are equal (and we're a BABL_FISH_REFERENCE).
* babl/babl-db.[ch]: moved the BablDb struct out into public to
allow faster iteration through it.
svn path=/trunk/; revision=250
Øyvind Kolås [Sun, 11 Nov 2007 14:25:56 +0000 (14:25 +0000)]
Modified copyright statement to refer to an URL instead of a civic address
* Modified copyright statement to refer to an URL instead of a civic
address for the Free Software Foundation and the text of the license.
svn path=/trunk/; revision=249
Øyvind Kolås [Sun, 11 Nov 2007 14:12:24 +0000 (14:12 +0000)]
Keep a cache of the linear version of BablImage's needed for
BablFormats around. This reduces the constant overhead for
conversions.
* babl/babl-classes.h: added .image_template field to BablFormat.
* babl/babl-format.c: (format_new): make .image_template NULL by
defualt.
* babl/babl-image.c: (babl_image_from_linear): use .image_template if
available instead of creating our own BablImage from scratch.
* babl/babl-memory.c: (babl_free): special case freeing of BablImage
and BablFormat to do the extra juggling needed for the image_template
cache.
svn path=/trunk/; revision=248
Øyvind Kolås [Sat, 10 Nov 2007 23:24:16 +0000 (23:24 +0000)]
improve visualization of results.
* babl/babl-fish-stats.c: (table_destination_each): improve
visualization of results.
svn path=/trunk/; revision=247
Øyvind Kolås [Sat, 10 Nov 2007 23:19:30 +0000 (23:19 +0000)]
Optimized lookup by adding an inline version of babl_db_each specially for
* babl/babl-db.c: (babl_db_each_inline), (babl_db_exist): Optimized
lookup by adding an inline version of babl_db_each specially for
babl_db_exist.
svn path=/trunk/; revision=246
Øyvind Kolås [Sat, 10 Nov 2007 23:19:11 +0000 (23:19 +0000)]
Do not accept BABL_FISH_REFERENCE as a valid result when fishing for
existing fishes.
* babl/babl-fish.c: (fishing_result_examine), (babl_fish):
svn path=/trunk/; revision=245
Øyvind Kolås [Sat, 10 Nov 2007 22:51:58 +0000 (22:51 +0000)]
documented BABL_STATS environment variable.
* docs/index-static.html.in: documented BABL_STATS environment
variable.
svn path=/trunk/; revision=244
Øyvind Kolås [Sat, 10 Nov 2007 13:51:05 +0000 (13:51 +0000)]
Upgraded babl from LGPLv2 to LGPLv3. Copyright statements in all files
have been updated to reflect this change, the permission to use leter
versions of the GNU licenses have been retained in all instances.)
* COPYING: changed to GPLv3
* COPYING.LESSER: added (LGPLv3's overlay over GPLv3)
svn path=/trunk/; revision=243
Michael Schumacher [Mon, 29 Oct 2007 23:22:40 +0000 (23:22 +0000)]
DIR_SEP='\' is evil, use DIR_SEP='\\' instead.
2007-10-30 Michael Schumacher <schumaml@cvs.gnome.org>
* configure.ac: DIR_SEP='\' is evil, use DIR_SEP='\\' instead.
svn path=/trunk/; revision=242
Kevin Cozens [Sat, 15 Sep 2007 00:01:00 +0000 (00:01 +0000)]
Define name of babl library file.
2007-09-14 Kevin Cozens <kcozens@cvs.gnome.org>
* configure.ac: Define name of babl library file.
* babl/babl-extension.c: Use name of babl library defined when
./configure was run.
svn path=/trunk/; revision=241
Kevin Cozens [Fri, 14 Sep 2007 23:42:23 +0000 (23:42 +0000)]
Changes to let BABL find its extensions at run time when the BABL_PATH
2007-09-14 Kevin Cozens <kcozens@cvs.gnome.org>
Changes to let BABL find its extensions at run time when the
BABL_PATH environment variable is not set.
* configure.ac: Don't specify BABL_PATH in here. Renamed
BABL_LIST_SEPERATOR to BABL_DIR_SEPARATOR.
* babl/babl-extension.c: Include /lib as part of default BABL_PATH.
Renamed #define's used to specify the path and directory separators.
Use the values from config.h that were set when ./configure was run.
svn path=/trunk/; revision=240
Kevin Cozens [Wed, 12 Sep 2007 00:44:02 +0000 (00:44 +0000)]
Added check for existence of automake-1.10. Fixes bug #474507.
2007-09-11 Kevin Cozens <kcozens@cvs.gnome.org>
* autogen.sh: Added check for existence of automake-1.10.
Fixes bug #474507.
svn path=/trunk/; revision=239
Øyvind Kolås [Mon, 10 Sep 2007 12:54:18 +0000 (12:54 +0000)]
return immediately if 0 pixels were requested to be processed.
* babl/babl-internal.c: (babl_process): return immediately if 0 pixels
were requested to be processed.
svn path=/trunk/; revision=238
Øyvind Kolås [Sat, 1 Sep 2007 19:09:39 +0000 (19:09 +0000)]
added.
* MAINTAINERS: added.
svn path=/trunk/; revision=237
Øyvind Kolås [Thu, 30 Aug 2007 12:25:22 +0000 (12:25 +0000)]
Applied patch from Kevin Cozens fixing bug #467652
* babl/Makefile.am: Use DL flag set by ./configure instead of
hard-coding it in Makefile
svn path=/trunk/; revision=236
Kevin Cozens [Thu, 2 Aug 2007 15:07:41 +0000 (15:07 +0000)]
extensions/gggl.c Only include math.h once.
2007-08-02 Kevin Cozens <kcozens@cvs.gnome.org>
* extensions/gggl.c
* extensions/gggl-lies.c: Only include math.h once.
svn path=/trunk/; revision=235
Øyvind Kolås [Wed, 1 Aug 2007 21:50:23 +0000 (21:50 +0000)]
Fixed compiler abort on certain LDFLAGS values (-Wl,-z,defs) by
applying patch from christopher taylor, closing bug #462536.
* babl/Makefile.am:
* extensions/Makefile.am:
svn path=/trunk/; revision=234
Øyvind Kolås [Sun, 25 Mar 2007 21:44:16 +0000 (21:44 +0000)]
reindented all of the code using uncrustify
svn path=/trunk/; revision=233
Étienne Bersac [Wed, 21 Mar 2007 20:33:52 +0000 (20:33 +0000)]
Don't distribute generated files. It's spurious when packaging.
svn path=/trunk/; revision=232
Øyvind Kolås [Wed, 21 Mar 2007 17:12:39 +0000 (17:12 +0000)]
Make force the value of shrext to either .dll or .so (it seems like it
* configure.ac: Make force the value of shrext to either .dll or .so
(it seems like it wasn't defined for unixy systems after all).
svn path=/trunk/; revision=231
Michael Schumacher [Tue, 13 Mar 2007 22:54:55 +0000 (22:54 +0000)]
use PATHSEP (platform-dependent, defined to ';' on win32) for
2007-03-13 Michael Schumacher <schumaml@cvs.gnome.org>
* configure.ac: use PATHSEP (platform-dependent, defined to ';' on
win32) for BABL_LIST_SEPERATOR
svn path=/trunk/; revision=230
Michael Schumacher [Tue, 13 Mar 2007 19:44:35 +0000 (19:44 +0000)]
AC_SUBST and AC_DEFINE $shrext into variables for Makefiles and source.
2007-03-13 Michael Schumacher <schumaml@cvs.gnome.org>
* configure.ac: AC_SUBST and AC_DEFINE $shrext into variables for
Makefiles and source.
* extension/Makefile.am: use $(SHREXT) instead of .$(SOext).
* babl/babl-extension.c: use SHREXT instead of a hardcoded ".so"
and get rid of a dirent->d_ino > 0 check which has been there for
reasons unknown.
svn path=/trunk/; revision=229
Michael Schumacher [Mon, 12 Mar 2007 20:58:13 +0000 (20:58 +0000)]
applied patch by John Marshall to make babl extensions build on Windows.
2007-03-12 Michael Schumacher <schumaml@cvs.gnome.org>
* Makefile.am:
* extensions/Makefile.am: applied patch by John Marshall to make
babl extensions build on Windows. They do not work yet, though. Fixes
bug #409957.
svn path=/trunk/; revision=228
Øyvind Kolås [Mon, 12 Mar 2007 01:45:17 +0000 (01:45 +0000)]
go fishing for an existing fish for the source/destination combination
* babl/babl-fish.c: (fishing_result_examine), (go_fishing),
(babl_fish): go fishing for an existing fish for the
source/destination combination before trying to create one.
svn path=/trunk/; revision=227
Øyvind Kolås [Mon, 12 Mar 2007 01:40:39 +0000 (01:40 +0000)]
go fishing for an existing fish for the source/destination combination
* babl/babl-fish.c: (fishing_result_examine), (go_fishing),
(babl_fish): go fishing for an existing fish for the
source/destination combination before trying to create one.
svn path=/trunk/; revision=226
Øyvind Kolås [Wed, 21 Feb 2007 23:09:04 +0000 (23:09 +0000)]
make _Babl be a typedef and not a union that gets included and defined for
* babl/babl-classes.h: make _Babl be a typedef and not a union that
gets included and defined for every single object generated.
Fixes bug #409781.
svn path=/trunk/; revision=225